package com.moehu.back.dao;

import com.moehu.back.model.DynamicModel;
import com.moehu.back.model.ImgModel;
import com.moehu.back.model.PagingModel;
import com.moehu.back.model.expand.DynamiciImgModel;
import com.moehu.back.model.request.DynamicPushModel;
import com.moehu.back.model.response.UserInfoResponseModel;

import java.util.List;
import java.util.Map;

public interface DynamicDao {

    Integer addDynamic(DynamicModel dy);
    Integer addOrdinaryDynamic(DynamicModel dy);
    Integer DynamicCreatedImg(List<ImgModel> img);
    DynamiciImgModel DynamicInfo(Integer id);
    List<DynamicModel> getPersonalDynamic(PagingModel dynamic);
    List<DynamicModel> getFollowUserDynamic(List<Integer> userToId);
    ImgModel getDynamicImg(Integer id);
    List<ImgModel> selectDynamicImgList(Integer id);
    UserInfoResponseModel getUserInfo(Integer userid);
    Map getMainImg(Integer opus_id);
    Integer recordHistoryDao(Integer user_id, Integer user_to_id);
    List<Integer> getUserHistory(Integer id);
}
